-- GENERATED SPELL FOR [Scorpid Dunestalker] --


function spell0_5424(pUnit, Event) --@Venom Sting,n/a--
pUnit:FullCastSpellOnTarget(5416,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5424', 45000, 1)
end

function Sorts_5424(pUnit, Event)
local choix_sorts_5424 = math.random(0, 0)
if choix_sorts_5424 == 0 then
pUnit:RegisterEvent('spell0_5424', 1, 1)
end
end

function mob5424_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5424', math.random(1500, 3000), 1)
end

function mob5424_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5424_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5424_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5424, 1, 'mob5424_Action')
RegisterUnitEvent(5424, 2, 'mob5424_Leave')
RegisterUnitEvent(5424, 3, 'mob5424_Kill')
RegisterUnitEvent(5424, 4, 'mob5424_Die')
